<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title> Shop & Cart </title>
	<link rel="stylesheet" href="css/styles.css" type="text/css" />
	</head>
	
	<body>
		<div id="wrap">
			<div class="header">
				<h1><a href="index.php">Shop & Cart</a></h1>
			</div> 
			<!-- end of header div -->
			
			<div id="nav">
				<ul>
					<!-- Menu -->
					<?php
					$pages = array (
						'Home' => 'index.php',
						'Sales' => './shop/sales/',
						'Wish List' => './wishlist.php',
						'Cart' => './cart.php'

					);
					
					// The page is being viewed
					$this_page = basename($_SERVER['PHP_SELF']);
					
					// Create each menu item
					foreach ($pages as $k => $v)	{
						echo'<li';
						// Add the class if it's the current page
						if($this_page == $v)
							echo ' class="selected"';
						// Complete this page
						echo '><a href="'.	$v	.'"><span>'.	$k	.'</span></a></li>';
					} // End of foreach Loop
					?>
					<!-- End of Menu -->
				</ul>		
			</div>	
			
			<div class="page">
				<div class="content">
			<!-- Content -->